﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace Common.Exceptions.MinioExceptions
{
    /// <summary>
    /// 文件上传异常
    /// </summary>
    public class FileUploadException : BusinessException
    {
        public FileUploadException(string fileName, Exception innerException = null)
            : base($"文件上传失败: {fileName}", innerException, 5002, HttpStatusCode.InternalServerError)
        {
        }
    }
}
